package com.immoc.utils;

import java.util.UUID;

public class UploadUtils {
    public static String getUuidFileName(String fileName) {
        int idx = fileName.lastIndexOf(".");
        String exName = fileName.substring(idx);

        String uuidFileName = UUID.randomUUID().toString().replace("-", "") + exName;
        return uuidFileName;
    }
}
